package com.xy.tool.concurrent.locks;

public interface DisLock {

    boolean lock(String resource);

    boolean lock(String resource, long timeoutMillis);

    boolean unlock(String resource);

}
